import { defineStore } from 'pinia'

// @ts-ignore
const useUserStore = defineStore("userStore",{
  state:() => ({
    userName: '',
    userRole: '',
    isLogin: false
  }),
  getters: {

  },
  actions: {

  },
  persist: {
    storage: localStorage,
  }
})

export default useUserStore
